Optimization Properties for Classes of Conjunctive Regular Path Queries

نویسندگان

  • Alin Deutsch
  • Val Tannen
چکیده

We are interested in the theoretical foundations of the optimization of conjunctive regular path queries (CRPQs). The basic problem here is deciding query containment both in the absence and presence of constraints. Containment without constraints for CRPQs is EXPSPACE-complete, as opposed to only NPcomplete for relational conjunctive queries. Our past experience with implementing similar algorithms suggests that staying in PSPACE might still be useful. Therefore we investigate the complexity of containment for a hierarchy of fragments of the CRPQ language. The classifying principle of the fragments is the expressivity of the regular path expressions allowed in the query atoms. For most of these fragments, we give matching lower and upper bounds for containment in the absence of constraints. We also introduce for every fragment a naturally corresponding class of constraints in whose presence we show both decidability and undecidability results for containment in various fragments. Finally, we apply our results to give a complete algorithm for rewriting with views in the presence of constraints for a fragment that contains Kleene-star and disjunction. Comments University of Pennsylvania Department of Computer and Information Science Technical Report No. MSCIS-01-20. This technical report is available at ScholarlyCommons: http://repository.upenn.edu/cis_reports/9 "!# $ % &('*) +-,/.0) + 1324+ 5616 87:9;&< "=6 => ?%@ A B > B /CEDF GH561I132J ? & %@ ac^;S a e €y ‚ ƒ…„>†3‡/ˆ ‰ ŠB‹ ŒJdŽ#dƒ ƒ †Iƒ  ƒ ‚’‘ †I“ ‰ ‚’ˆ?”o•d–n—#†3ƒ/ƒ ‰4”  ‘˜dƒ/‚<

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

New Rewritings and Optimizations for Regular Path Queries

All the languages for querying semistructured data and the web use as an integral part regular expressions. Based on practical observations, finding the paths that satisfy those regular expressions is very expensive. In this paper, we introduce the “maximal partial rewritings” (MPR’s) for regular path queries using views. The MPR’s are always exact and more useful for the optimization of the re...

متن کامل

Conjunctive Visibly-Pushdown Path Queries

We investigate an extension of conjunctive regular path queries in which path properties and path relations are defined by visibly pushdown automata. We study the problem of query evaluation for extended conjunctive visibly pushdown path queries and their subclasses, and give a complete picture of their combined and data complexity. In particular, we introduce a weaker notion called extended co...

متن کامل

Containment of Conjunctive Regular Path Queries with Inverse

Reasoning on queries is a basic problem both in knowledge representation and databases. A fundamental form of reasoning on queries is checking containment, i.e., verifying whether one query yields necessarily a subset of the result of another query. Query containment is crucial in several contexts, such as query optimization, knowledge base verification, information integration, database integr...

متن کامل

Conjunctive Regular Path Queries in Lightweight Description Logics

Conjunctive regular path queries are an expressive extension of the well-known class of conjunctive queries and have been extensively studied in the database community. Somewhat surprisingly, there has been little work aimed at using such queries in the context of description logic (DL) knowledge bases, and all existing results target expressive DLs, even though lightweight DLs are considered b...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2001